package com.voice.server.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Proxy;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;

@Data
@Entity
@Table(name = "tbl_device_pinyin_code")
@DynamicUpdate
@Proxy(lazy = false)
public class DevicePinYinCode  extends SupperEntity{

    /*
    * 设备key
    * */
    private String deviceKey;

    /*
    * 字符拼音
    * */
    private String pinyin;

    /*
    * 指令码
    * */
    private int code;
}
